TextDocumentTrackedChanges Property

The document's tracked changes. Never null: a document that has none yet gets an empty one on first use, so doc.TrackedChanges.TrackChanges = true works on a document straight from the constructor. It used to return null there, which is what the documented example does and what therefore threw. An empty instance writes an empty text:tracked-changes element, so a caller that only reads this property does not change what the document saves.

Definition

Namespace: Independentsoft.Office.Odf
Assembly: Independentsoft.Calc (in Independentsoft.Calc.dll) Version: 3.0.520.1+c6c593d5629a051e0af021b238c5d69d764f9686
C#
public TrackedChanges TrackedChanges { get; set; }

Property Value

TrackedChanges

See Also